package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Newspaper;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface NewspaperMapper {
    List<Newspaper> selectNewspaperList(Newspaper newspaper);

    Integer insertNewspaper(Newspaper newspaper);

    Integer deleteNewspaperById(Integer id);

    Integer updateNewspaper(Newspaper newspaper);

    List<SysUser> selectAllUserByDeptId(Integer deptId);

    Newspaper selectNewspaperById(Integer id);

    String selectNewspaperContentById(Integer id);
}
